﻿using LJ.Abstractions.Pack;
using Serilog;

namespace LJ.Logging.Serilog;

public class LoggingSerilogPackProcessingServer : IPackProcessingServer
{

    public Task StartAsync(CancellationToken stoppingToken)
    {

        return Task.CompletedTask;
    }

    public void Dispose()
    {
        Log.CloseAndFlush();
        GC.SuppressFinalize(this);
    }
}
